package com.javaee.service.admin;

import com.javaee.entity.Doctor;
import com.javaee.entity.Plan;

import java.util.List;

public interface PlanService {
    void save(Plan plan);
    List<Doctor> finddoctorbyName();
    void deleteById(Integer id);
    void update(Plan plan);
    Plan findById(Integer id);
    List<Plan> findAll();
    List<Plan> findAllWithDoctor(String keyword,int pageNum, int pageSize);
    List<Plan> findByDepartmentName(String departmentName);

    int selectCount();
}
